<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>邮件通知</title>
    <style>
        h2{
          text-align: center;
        }
    </style>
</head>
<body>
<h2 th:text="${username}+'你好！打卡已经完成了'"></h2>
<h2 th:text="'状态'+${status}" style="color: red"></h2>
<div  style="text-align: center">
    <table th:if="${table}!=null" border="1px" class="table table-hover">
        <tr>
            <th>登记日期</th>
            <th>现所在地</th>
            <th>旅居史</th>
            <th>接触史</th>
            <th>往来史</th>
            <th>身体状况</th>
            <th>登记方式</th>
            <th>操作</th>
        </tr>
        <tr th:each="t:${table}">
            <td th:text="${t.dateOfRegistration}"></td>
            <td th:text="${t.location}"></td>
            <td th:text="${t.historyOfSojourn}"></td>
            <td th:text="${t.physicalCondition}"></td>
            <td th:text="${t.contactHistory}"></td>
            <td th:text="${t.historyOfContacts}"></td>
            <td th:text="${t.registrationMethod}"></td>
            <td th:text="${t.operation}"></td>
        </tr>
    </table>
</div>
<h2><a href="http://47.117.141.12:8080">手动打卡</a></h2>
</body>
</html>